<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">

<html lang="en">
<head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>manage_club</title>
        <meta name="generator" content="TextMate http://macromates.com/">
        <meta name="author" content="Patrick J Leyden III">
        <link rel="stylesheet" type="text/css" href="/stylesheets/main.css" />
        <!-- Date: 2008-07-29 -->
</head>
<body>
<img class="logo" src="/images/logo.png"/>

<h1>Manage Club</h1>

<p>Name: {{ club.name }}</p>

<p>Description: {{ club.description }}</p>

{% if members %}
<table>
	<thead>
		<tr>
			<td style="font-style: bold">Name</td>
			<td>Email</td>
			<td>Duty Date</td>
			<td></td>
		</tr>
	</thead>
	<tbody>
{% for member in members %}
	<tr>
		<td>{{ member.lname }}, {{ member.fname }}</td>
		<td>{{ member.email }}</td>
		<td>{{ member.date }}</td>
		<td>
			<form action="/send_reminder" method="post">
				<input type="hidden" name="id" value="{{ club.key }}"/>
				<input type="hidden" name="duty_id" value="{{ member.key }}"/>
				<input type="submit" value="Send Reminder"/>
			</form>
		</td>
	</tr>
{% endfor %}
	</tbody>
</table>
{% else %}
<p><b>No members!</b></p>
{% endif %}

<br/>
<form action="/edit_members" method="post">
                <input type="hidden" name="id" value="{{ club.key }}"/>
                <input type="submit" value="Edit Member List"/>
</form>

<p><a href="/clubs">Return to clubs</a></p>

</body>
</html>
